package com.ithong.drug.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 *销售记录
 */
@Data
@TableName("saleinfo")
@ToString
public class Saleinfo {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String dname;
    private String dnumber; //药品编号
    private Integer count; //数量
    private Float total; //总金额
    private String operator;
    private Date operatetime;
}
